package model;

import net.zweb.core.db.annotation.Column;
import net.zweb.core.db.annotation.Id;
import net.zweb.core.db.annotation.Table;

@Table(text="分类", name="sf_category")
public class Category {

    @Id
    @Column
    private Long id;
    
    @Column(text="名称")
    private String name;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
}
